package com.own.business.log.operation.persistence.entity.query;

import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * LogOperationStatsTimeRangeQuery
 *
 * @author chenxueli
 * @date 2023-08-09 10:24:19
 */
@Schema(title = "操作日志持久化" + ConstantBeanSuffix.STATS_QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class LogOperationStatsTimeRangeQuery extends LogOperationQuery implements Serializable {

    @Schema(title = "时间范围")
    private String interval;

    @Schema(title = "是否只查询app 1=是 0=否", hidden = true)
    private Integer onlyApp;

}
